package com.tjs.lucky.infrastructure.mapper;

import com.tjs.lucky.infrastructure.po.RuleTree;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author: 田佳澍
 * @Description:
 * @DateTime: 2023/5/29 14:31
 **/
@Mapper
public interface RuleTreeMapper {

    /**
     * 规则树查询
     *
     * @param id ID
     * @return 规则树
     */
    RuleTree queryRuleTreeByTreeId(Long id);

    /**
     * 规则树简要信息查询
     *
     * @param treeId 规则树ID
     * @return 规则树
     */
    RuleTree queryTreeSummaryInfo(Long treeId);

}
